package com.demo.user;

import com.alibaba.cloud.seata.GlobalTransactionAutoConfiguration;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.stereotype.Repository;

/**
 * @author luogq
 */

@SpringBootApplication(scanBasePackages = {"com.demo.user"}, exclude = GlobalTransactionAutoConfiguration.class)
@MapperScan(basePackages = {"com.demo.user"}, annotationClass = Repository.class)
@EnableDubbo
@EnableDiscoveryClient
public class UserCenterApplication {

  public static void main(String[] args){
    SpringApplication.run(UserCenterApplication.class, args);
  }

}
